#region Usings

using System.Linq;
using Rail.Net.Core.Interfaces.Data;
using Rail.Net.Core.Model;
using Rail.Net.Data.Caching;

#endregion

namespace Rail.Net.Data
{
    public class VirtualRuTrainNumberRepository : CacheableRepository<VirtualRuTrainNumber>, IVirtualRuTrainNumberRepository
    {
        public override IQueryable<VirtualRuTrainNumber> AllDefaultsIncluded()
        {
            return All(v => v.Ru, v => v.VirtualRu);
        }
    }
}